

import java.rmi.Remote;
import java.rmi.RemoteException;

public interface Rejestruj extends Remote{
	
	public User zarejestruj(
			
			String login,
			String pas1,
			String pas2,
			String email)
	
			throws RemoteException;
	public boolean sprawdzLogin(
			String login
			) throws RemoteException;
	public Adres rejestruj2(
						   String name,
						   String lastname,
						   String numerTelefonu,
						   String city,
						   String ulica,
						   int zip_code,
						   int zip_code1,
						   int numerDomu,
						   boolean acceptShareDate,
						   int idUser
			)throws RemoteException;
	void getId(String login) throws RemoteException;
}
